package MOLE;

/** 
 Cookie ��ժҪ˵����
*/
public class Cookie
{
	public Cookie()
	{
		//
		// TODO: �ڴ˴���ӹ��캯���߼�
		//
	}

	public static void Set(String Cname, String Cvalue, int ExpInt)
	{
		System.Web.HttpContext.Current.Response.Cookies[Cname].Value = Cvalue;
		System.Web.HttpContext.Current.Response.Cookies[Cname].Expires = java.time.LocalDateTime.now().plusDays(ExpInt);
	}

}